<template>
  <div class="kaoshi">
    <el-row type="gird" style="width: 100%;text-align: center;">
      <el-row>
        <el-button type="primary" @click="handleBaoming('N')">学历报名</el-button>
      </el-row>

      <el-row style="padding-top: 50px">
        <el-button type="primary" @click="handleBaoming('Y')">工龄报名</el-button>
      </el-row>
    </el-row>




  </div>
</template>

<script>

export default {
  name: "Session",
  watch: {
    $route: {
      handler: function (route) {
        this.session = route.query.session;
      },
      immediate: true
    }
  },
  data() {
    return {
      session: '',
      u:''
    }
  },
  created() {
    // this.handleInitInfo()
  },
  methods: {
    handleBaoming(type) {
      this.$router.push({path: "/kaoshi/exam", query: {seniorityFlag: type,session:this.session}}).catch(() => {
      })
    },

  }
}
</script>

<style scoped lang="scss">
.kaoshi {
  max-width: 90vw;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}


//.kaoshi {
//  max-width: 90vw;
//  margin: auto;
//  touch-action: pan-y;
//  display: grid;
//  justify-content: center;
//  align-items: center;
//  overflow-y: hidden;
//}


</style>

